package com.zk.mall.entity;

public class Goods {
    private int goodsid;
    private String goodsname;
    private String goodsphoto;
    private double goodsprice;
    private String goodsdesc;
    private String goodsaddress;
    private Sorts sorts;



    public Goods(int goodsid) {
        this.goodsid = goodsid;
    }

    public Goods(String goodsname, String goodsphoto, double goodsprice, String goodsdesc, String goodsaddress) {
        this.goodsname = goodsname;
        this.goodsphoto = goodsphoto;
        this.goodsprice = goodsprice;
        this.goodsdesc = goodsdesc;
        this.goodsaddress = goodsaddress;
    }

    public Goods() {
    }

    public Goods(String goodsname, double goodsprice) {
        this.goodsname = goodsname;
        this.goodsprice = goodsprice;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodsphoto() {
        return goodsphoto;
    }

    public void setGoodsphoto(String goodsphoto) {
        this.goodsphoto = goodsphoto;
    }

    public double getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(double goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getGoodsdesc() {
        return goodsdesc;
    }

    public void setGoodsdesc(String goodsdesc) {
        this.goodsdesc = goodsdesc;
    }

    public String getGoodsaddress() {
        return goodsaddress;
    }

    public void setGoodsaddress(String goodsaddress) {
        this.goodsaddress = goodsaddress;
    }

    public Sorts getSorts() {
        return sorts;
    }

    public void setSorts(Sorts sorts) {
        this.sorts = sorts;
    }
}
